package com.jic.product.model.entity;

import com.jic.product.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@ApiModel(description = "虚拟仓表")
public class MStoreVirtual extends BaseEntity{
	private static final long serialVersionUID = 1L;
    @ApiModelProperty(notes = "主键")
    private Long id;

    @ApiModelProperty(notes = "虚拟仓库编码")
    private String code;

    @ApiModelProperty(notes = "")
    private String name;

    @ApiModelProperty(notes = "状态;0-启用;1-停用;")
    private Integer status;

    @ApiModelProperty(notes = "商家Id")
    private Long productId;

    @ApiModelProperty(notes = "店铺Id(mem_store仓库表)")
    private Integer shopId;

    //实体仓库关系映射
    private List<MStoreVirtualRel> warehouses;
    //店铺关系映射
    private List<MStoreVirtualRel> shops;
}
